﻿@model TopArtFinalProject.Models.Song

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Song</legend>

        @Html.HiddenFor(model => model.SongID)

       @Html.HiddenFor(model => model.UserName)
       

        <div class="editor-label">
            @Html.LabelFor(model => model.Title)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Title)
            @Html.ValidationMessageFor(model => model.Title)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Artist)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Artist)
            @Html.ValidationMessageFor(model => model.Artist)
        </div>

        @Html.HiddenFor(model => model.ArtistID)
        

        <div class="editor-label">
            @Html.LabelFor(model => model.Album)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Album)
            @Html.ValidationMessageFor(model => model.Album)
        </div>

        @Html.HiddenFor(model => model.AlbumID)
        

        <div class="editor-label">
            @Html.LabelFor(model => model.Genre)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Genre)
            @Html.ValidationMessageFor(model => model.Genre)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ImagePath)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ImagePath)
            @Html.ValidationMessageFor(model => model.ImagePath)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ReleseDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ReleseDate)
            @Html.ValidationMessageFor(model => model.ReleseDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FacebookLink)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FacebookLink)
            @Html.ValidationMessageFor(model => model.FacebookLink)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TwitterLink)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TwitterLink)
            @Html.ValidationMessageFor(model => model.TwitterLink)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.VideoLink)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.VideoLink)
            @Html.ValidationMessageFor(model => model.VideoLink)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.YoutubeChannel)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.YoutubeChannel)
            @Html.ValidationMessageFor(model => model.YoutubeChannel)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.GooglePlus)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.GooglePlus)
            @Html.ValidationMessageFor(model => model.GooglePlus)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.EmbededData)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EmbededData)
            @Html.ValidationMessageFor(model => model.EmbededData)
        </div>

       @Html.HiddenFor(model => model.RatingID)
        

        @Html.HiddenFor(model => model.FiveStars)
        @Html.HiddenFor(model => model.FourStars)
        @Html.HiddenFor(model => model.ThreeStars)
        @Html.HiddenFor(model => model.TwoStars)
       @Html.HiddenFor(model => model.OneStars)
       @Html.HiddenFor(model => model.TotalStars)
        @Html.HiddenFor(model => model.AvgStars)
        @Html.HiddenFor(model => model.FeatureValue1)
       @Html.HiddenFor(model => model.FeatureValue2)
       @Html.HiddenFor(model => model.FeatureValue3)
        @Html.HiddenFor(model => model.ReviewID)
        
        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
